#!/bin/bash
curr_path=`pwd`
luncher_script="${curr_path}/emojiii"
touch $curr_path/last_use_10
touch $luncher_script
echo export EMOJIII_LAST_USE_TEN=$curr_path/last_use_10 > $luncher_script
sed -i '$a python3 '$curr_path/main.py $luncher_script
chmod u+x $luncher_script
ln -s $luncher_script /usr/local/bin
echo "Done..."